package com.zhuiyun.educations.api.courseprice.service;

import com.zhuiyun.educations.api.courseprice.entity.Price;
import com.zhuiyun.educations.common.response.CommonResult;
import com.zhuiyun.educations.util.pageUtil.PageRequest;


/**
 * @ClassName MemberVoService
 * @Description TODO 课程价钱管理服务类
 * @Author ys
 * @Date 2023/6/16 8:28
 **/
public interface CoursePriceService {
    /**
     * @Author ys
     * @Description TODO 分页查询
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult getPrice(PageRequest pageRequest,String courseTitle);
    /**
     * @Author ys
     * @Description TODO 新增
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult addPrice(Price price);
    /**
     * @Author ys
     * @Description TODO 修改
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult updatePrice(Price price);
    /**
     * @Author ys
     * @Description TODO 逻辑删除
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult deletePriceById(int id);
    /**
     * @Author ys
     * @Description TODO 课程动态下拉
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult courseSelect();
}
